package com.baox.agridata.synchronous.service.shanxi.impl;

import com.baox.agridata.synchronous.dao.shanxi.TZsAbpMapper;
import com.baox.agridata.synchronous.entity.quanguo.ZsAbp;
import com.baox.agridata.synchronous.service.shanxi.TZsAbpService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TZsAbpServiceImpl implements TZsAbpService {

    @Autowired
    private TZsAbpMapper tZsAbpMapper;


    @Override
    public Integer batchInsertZsAbp(List<ZsAbp> list) {
        return tZsAbpMapper.batchInsertZsAbp(list);
    }

    @Override
    public List<ZsAbp> selectTZsAbpListData(String startTime) {
        return tZsAbpMapper.selectTZsAbpListData(startTime);
    }

    @Override
    public Integer selectTZsAbpById(String id) {
        return tZsAbpMapper.selectTZsAbpById(id);
    }
}
